import App from './App'
// #ifndef VUE3
import Vue from 'vue'
import store from './store/index.js'
import './uni.promisify.adaptor'
import * as filters from './utils/filters' // global filters
import * as utils from './utils/common'
import * as code2Enum from './utils/code2Enum'
Vue.use(store)
Vue.prototype.$filters = filters; // 全局过滤器
Vue.prototype.$utils = utils; // 常用函数
Vue.prototype.$Enum2Code = code2Enum; // 方便使用  将数据库枚举转成数字
Vue.prototype.$store = store; // 存储
Vue.config.productionTip = false
console.log(store);
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif
// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
console.log('store');
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif